package com.homeinns.dao;

import java.util.ArrayList;
import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cache.annotation.Cacheable;


public class TestCacheDao {

	private static final Logger logger = LoggerFactory.getLogger(TestCacheDao.class);
	
	@Cacheable("testCache")
	public List<String> getAllInfo(){
		logger.info("enter get All Info");
		List<String> list = new ArrayList<String>();
		return list;
	}
}
